* {
    padding: 0;
    margin: 0;
}

html,
body {

}

input,
select,
textarea {
    outline: none;
    box-sizing: border-box;
}

input,
textarea {
    word-wrap: break-word;
    word-break: break-all;
    padding: 0px;
}

a {
    text-decoration: none;
}

// hidden ---------------------------------------------------------------------------------------------------------------------------------------------------
.hidden {
    display: none;
}

// block ----------------------------------------------------------------------------------------------------------------------------------------------------
.block {
    display: block;
}

// position --------------------------------------------------------------------------------------------------------------------------------------------------
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

// h1,h2,h3,h4,h5,h6 ------------------------------------------------------------------------------------------------------------------------------------------
h1{
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

// pointer --------------------------------------------------------------------------------------------------------------------------------------------------------
.pointer {
    cursor: pointer;
}

// float left/right ----------------------------------------------------------------------------------------------------------------------------------------------
.fl {
    float: left;
}

.fr {
    float: right;
}
.white_color{
    color: #fff!important;
}
// img --------------------------------------------------------------------------------------------------------------------------------------------------------
// img {
//     image-rendering: -moz-crisp-edges;
//     image-rendering: -o-crisp-edges;
//     image-rendering: -webkit-optimize-contrast;
//     image-rendering: crisp-edges;
//     -ms-interpolation-mode: nearest-neighbor;
// }

ul {
    list-style: none;
}




// // drop menu --------------------------------------------------------------------------------------------------------------------------------------------
.dropMenu {
    width: 100%;
    position: relative;

    .drop {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        border: 1px solid #eaeaea;
        border-radius: 5px;
        z-index: 20;

        &:after {
            content: '';
            display: block;
            position: absolute;
            top: 50%;
            right: 10px;
            transition: all .3s;
            transform: translate(0, -50%) rotate(90deg);
            width: 15px;
            height: 15px;
            background-image: url(../images/arrow-right.svg);
        }

        &.on {
            border-color: #99d1ff;
            background-color: #80c6ff;

            &:after {
                transform: translate(0, -50%) rotate(-90deg);
            }
        }
    }

    .drop_menu {
        box-sizing: border-box;
        border: 1px solid #eaeaea;
        background-color: #fff;
        border-top: 1px solid transparent;
        margin-top: -2px;
        display: none;
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 5px;
        box-sizing: border-box;

        ul {
            width: 100%;

            li {
                font-size: 12px;
                padding: 5px 10px;

                &:hover {
                    background-color: #99d1ff;
                }
            }
        }
    }

}

// font -------------------------------------------------------------------------------------------------------------------------------------------------------
.font_b {
    font-weight: bold !important;
    font-family: 'nanumgothic_bold'!important;
}

// bg color ------------------------------------------------------------------------------------------------------------------------------------------------
.bg-graywhite {
    background-color: #f7f7f7 !important;
    color: #fff !important;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 5px #f7f7f7 !important;
        border: 1px solid #f7f7f7 !important;
    }
}

.bg-purple {
    background-color: #7980e1 !important;
    color: #fff !important;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 5px #7980e1 !important;
        border: 1px solid #7980e1 !important;
    }
}

.bg-black {
    background-color: #323232 !important;
    color: #fff !important;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 5px #222222 !important;
        border: 1px solid #222222 !important;
    }
}

.bg-green {
    background-color: #86ce15 !important;
    color: #fff !important;
    color: #fff !important;

    &:focus {
        box-shadow: 0 0 5px #86ce15 !important;
        border: 1px solid #86ce15 !important;
    }
}

.bg-gray {
    background-color: #707070 !important;
    color: #fff !important;

    &:focus {
        box-shadow: 0 0 5px #707070 !important;
        border: 1px solid #707070 !important;
    }
}

.bg-red {
    background-color: #d2252d !important;
    color: #fff !important;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 5px #fd9ba0 !important;
        border: 1px solid #d2252d !important;
    }
}

.bg-blue {
    background-color: #279cff !important;
    color: #fff !important;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 5px #91cdff !important;
        border: 1px solid #1983da !important;
    }
}

.bg-orange {
    background-color: #ffa800 !important;
    color: #fff !important;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 5px #ffce6d !important;
        border: 1px solid #c58300 !important;
    }
}

// text color --------------------------------------------------------------------------------------------------------------------------------------------
.text-graywhite {
    color: #f7f7f7 !important;
}

.text-gray {
    color: #b2b2b2 !important;
}

.text-purple {
    color: #8890D6 !important;
}

.text-yellowwhite {
    color: #fcffc5 !important;
}

.text-bluewhite {
    color: #dadcff !important;
}

.text-green {
    color: #2BC568 !important;
}

.text-greenwhite {
    color: #eaffc9 !important;
}

.text-greenblack {
    color: #338323 !important;
}
.text-warning{
    color: #D67F4E;
}
.text-white{
    color: #fff!important;
}
.text-red {
    color: #ff000d !important;

    td {
        color: #ff3636 !important;

        a {
            color: #ff3636 !important;
        }
    }
}

.text-redblack {
    color: #790808 !important;
}

.text-redwhite {
    color: #EAA8AB !important;
}

.text-blue {
    color: #279cff !important;
}

.text-blueblack {
    color: #4E74D6 !important;
}

.text-bluewhite {
    color: #A8BAEA !important;
}

.text-yellow {
    color: #ffeb3f !important;
}

.text-yellowblack {
    color: #695503 !important;
}

.text-yellowwhite {
    color: #fff9df !important;
}

.text-black {
    color: #323232 !important;
}

.text-white {
    color: #fff !important;
}
.text-aqua{
    color: #27d0d2!important;
}
// 팝업 --------------------------------------------------------------------------------------------------------------------------------------------------
.pop-box {
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 600;
    display: none;
    align-items: center;
    justify-content: center;

    .pop-layout {
        background-color: #fcfcfc;
        z-index: 700;
        width: 550px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-radius: 10px;
        box-sizing: border-box;
        min-height: 250px;
        padding: 30px 18px;

        .writing-box {
            min-width: 680px;

            .form-box {
                border: 0 !important;
                min-height: unset !important;

                textarea {
                    width: 100%;
                    height: 100%;
                    border: 1px solid #e9e9e9;
                    outline: none;
                    min-height: 250px;
                    padding: 15px;
                    box-sizing: border-box;

                    &:focus {
                        box-shadow: 0 0 5px #a8acec;
                        border: 1px solid #a8acec;
                    }
                }
            }
        }

        .text {
            margin-top: 15px;
            min-height: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            strong {
                font-size: 14px;
            }

            p {
                margin-top: 5px;
                color: #bdbdbd;
            }

            font-size: 12px;
        }

        .pop-color {
            cursor: pointer;
            display: block;
            align-items: center;
            justify-content: center;
        }

        &.pop_lg {
            width: 80%;

            .name {
                width: 20% !important;
            }

            .input {
                width: 80% !important;
            }
        }
    }

    &.user-add {
        .pop-layout {}
    }

    &.user-form {
        .pop-layout {
            min-height: 380px;
        }
    }

    &.p_betlist {
        .pop-layout {
            width: 1024px;
            align-items: flex-start;
            justify-content: flex-start;
            min-height: unset;
        }
    }
}

// info 스타일 --------------------------------------------------------------------------------------------------------------------------------------------
.form-box {
    min-width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: column;

    h3 {
        font-size: 24px;
        color: #545454;
        border-bottom: 1px solid #545454;
        display: inline-block;
        margin: 0 auto;
        // width: 100px;
        text-align: center;
    }

    .form {
        max-width: 90%;
        margin: 30px auto;

        .form-item {
            display: inline-flex;
            width: 100%;
            align-items: center;
            margin-bottom: 10px;

            .name {
                display: flex;
                align-items: center;
                width: 35%;
                float: left;

                span {
                    display: flex;
                    align-items: center;

                    img {
                        width: 25px;
                    }
                }

                font {
                    font-size: 12px;
                    font-weight: bold;
                    margin-left: 10px;
                }
            }

            .input {
                display: flex;
                width: 65%;
                float: left;
                padding: 5px;
                box-sizing: border-box;

                input,
                select {
                    border-radius: 5px;
                    border: 1px solid #e9e9e9;
                    background-color: #fff;
                    padding: 0 10px;
                    box-sizing: border-box;
                    width: 100%;
                    outline: none;
                    font-size: 12px;
                    height: 30px;
                    line-height: 30px;
                }

                font {
                    font-size: 12px;
                }

                .lg_imgs {
                    position: relative;
                    overflow: hidden;

                    input {
                        border: 0;
                        background: none;
                        position: absolute;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        z-index: 100;
                        height: auto;
                        opacity: 0;
                    }

                    .f_img {
                        z-index: -1;

                        img {
                            max-width: 200px;
                        }
                    }
                }

                .radio-box {
                    .radio {
                        margin-bottom: 10px;

                        input {
                            width: 15px;
                            height: 15px;
                            line-height: unset;
                        }

                        label {
                            font-size: 12px;
                            min-width: 120px;
                        }

                        &:last-child {
                            margin-bottom: 0;
                        }
                    }

                }

                textarea {
                    border: 1px solid #e9e9e9;
                    padding: 10px;
                    box-sizing: border-box;
                    width: 100%;
                    min-height: 100px;
                    border-radius: 5px;
                }

                p {
                    font-size: 12px;
                }
            }

            &:last-child {
                margin-bottom: 0;
            }

            &:after {
                content: '';
                display: block;
                clear: both;
            }
        }
    }
}

// button -------------------------------------------------------------------------------------------------------------------------------------------------
.button-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px auto 0 auto;

    button {
        border-radius: 5px;
        border: 0;
        padding: 8px 25px;
        display: flex;
        align-items: center;
        margin-right: 10px;
        outline: none;
        cursor: pointer;
        font-size: 12px;

        &:first-child {
            color: #fff;
        }

        &:first-child:hover {
            transition: all .2s ease;
            background-color: rgb(45, 125, 190) !important;
        }

        &:last-child {
            margin-right: 0;
        }

        &:last-child:hover {
            transition: all .2s ease;
            background-color: rgb(226, 226, 226) !important;
        }

        &.close {
            color: #000;
        }
    }
}

.edit-btn {
    outline: none;
    background-color: #d2252d;
    border: 1px solid #910f16;
    min-width: 64px;
    min-width: 64px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 3px #fd9ba0;
        border: 1px solid #d2252d;
    }
}

.default-btn {
    outline: none;
    background-color: #f7f7f7;
    border: 1px solid #eaeaea;
    width: 64px;
    min-width: 64px;
    height: 40px;
    color: #000;
    border-radius: 5px;
    font-size: 12px;

    &:focus {
        box-shadow: 0 0 3px #d1d1d1;
        border: 1px solid #eaeaea;
    }
}

.enter-btn {
    outline: none;
    background-color: #3f3f3f !important;
    border: 1px solid #313131 !important;
    min-width: 64px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;

    img {
        width: 15px !important;
        margin-right: 5px;
    }

    &:focus {
        box-shadow: 0 0 5px #3f3f3f !important;
        border: 1px solid #3f3f3f !important;
    }
}

.btn-enter {
    padding: 0px 35px;
    background: #939;
    color: #fff;
}

.btn-close {
    padding: 0px 35px;
    background-color: #bbb;
    color: #fff;
}

.btn-black {
    padding: 0px 35px;
    background-color: #383838;
    border: 1px solid #383838;
    color: #fff;
    outline: none;
}

.btn-black:hover {
    background-color: #000;
    transition: all .2s ease-out;
}

.btn-white {
    padding: 0px 35px;
    background-color: #fff;
    border: 1px solid #d2cfcf;
    outline: none;
}

.btn-white:hover {
    background-color: #f7f7f7;
    transition: all .2s ease-out;
}

button {
    padding: 0 15px;
    cursor: pointer;
    border: 0;
    min-height: 30px;

    &:active {
        transform: translateY(1px);
    }

    i {
        margin-right: 5px;
    }
}

// width & height -----------------------------------------------------------------------------------------------------------------------------------------------
.xs_width {
    max-width: 600px !important;
    min-width: unset !important;

    input {
        min-width: 100px !important;
    }
}

.width_auto {
    width: auto !important;
    display: flex;
    align-items: center;
    margin-right: 15px;

    input {
        margin: 0 !important;
        padding: 0 !important;
    }

    label {
        margin: 0 !important;
        padding-left: 5px !important;
    }
}

.pull_width {
    width: 100% !important;
}
.grid{
    display: grid!important;
}
// border ---------------------------------------------------------------------------------------------------------------------------------------------------------
.border_black {
    border: 1px solid #000 !important;
}

.border_b_none {
    border-bottom: 0 !important;
}

.border_t_none {
    border-top: 0 !important;
}

.font_b {
    font-weight: bold !important;
}

// view ---------------------------------------------------------------------------------------------------------------------------------------------------------
.view {
    padding-top: 40px !important;

    h4 {
        font-size: 16px;
        font-weight: 600;

        span {
            margin-left: 10px;
            color: #a7a7a7;
            font-size: 12px;

            font {
                color: #a7a7a7;
                font-size: 12px;
                font-weight: 100;
                padding-left: 5px;
            }
        }
    }

    .Ann-head {}

    .view-head {
        margin-top: 15px;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 20px;

        h4 {
            font-size: 28px;
            word-spacing: 0px;
            line-height: 1.35;
            letter-spacing: -1px;
            word-break: break-all;
        }

        .view-detail {
            margin-top: 15px;
            position: relative;

            span {
                padding: 0 15px;
                border-right: 1px solid #eaeaea;
                font-size: 12px;
                color: #a7a7a7;

                i {
                    margin-left: 5px;
                    color: #3694ff;
                }

                font {
                    margin-left: 5px;
                    font-weight: bold;
                }
            }

            span:first-child {
                padding-left: 0;
            }

            span:last-child {
                border-right: 0;
            }

            .grap {
                display: flex;
                position: absolute;
                top: 0;
                right: 0;

                span {
                    color: #a7a7a7;
                    font-size: 12px;
                }

                span:first-child {
                    margin-right: 10px;
                }

                .line-bar {
                    position: relative;
                    width: 100px;
                    display: flex;
                    align-items: center;

                    .red-line {
                        position: absolute;
                        top: 6px;
                        left: 0;
                        height: 6px;
                        border-radius: 8px;
                        background-color: #ff3636;
                    }

                    .line {
                        height: 6px;
                        border-radius: 8px;
                        background-color: #ececec;
                        width: 100%;
                    }
                }

                span:last-child {
                    color: #ff3636;
                    margin-left: 10px;
                }
            }
        }
    }

    .view-body {
        margin-top: 15px;

        .view-notice {
            border: 1px solid #f6f6f6;
            background-color: #fafafa;
            position: relative;
            height: 30px;
            display: flex;
            align-items: center;
            padding-left: 10px;

            a {
                strong {
                    color: orange;
                }

                font {
                    padding-left: 10px;
                    font-size: 14px;
                }

                span {
                    position: absolute;
                    top: 5px;
                    right: 5px;
                }
            }
        }

        .view-contents {
            font-size: 16px;
            line-height: 180%;
            word-break: break-all;
            margin-bottom: 5px;
            color: #000;
            margin-top: 20px;

            pre {
                padding: 0;
                border: 0;
                background-color: #fff;
                white-space: pre-line;
            }

            img {
                max-width: 720px;
                height: auto;
            }

            div {
                img {
                    max-width: 720px;
                    height: auto;
                }
            }

            p {
                margin-top: 10px;
            }

            .view-tag {
                margin-top: 40px;

                a {
                    display: inline-flex;
                    font-size: 12px;
                    color: #a7a7a7;
                    margin: 0 6px 4px 0;
                    padding: 0 8px;
                    color: #666;
                    background: #f9f9f9;
                    border-radius: 3px;
                    word-break: keep-all;
                    letter-spacing: 0;

                    span {
                        margin-right: 5px;
                    }
                }

                a:hover {
                    text-decoration: none;
                    background-color: #ebebeb;
                }
            }

            .view-btn {
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: 30px;

                .gray-btn {
                    outline: none;
                    margin-left: 10px;
                    background-color: #ffffff;
                    border: 1px solid #bdbdbd;
                    width: 64px;
                    min-width: 64px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #000;
                    border-radius: 5px;
                    font-size: 12px;

                    &:focus {
                        box-shadow: 0 0 5px #bdbdbd;
                        border: 1px solid #bdbdbd;
                    }
                }

                button {
                    cursor: pointer;
                    height: 30px !important;
                }
            }
        }
    }
}

// writing 쓰기 ---------------------------------------------------------------------------------------------------------------------------------------------------------
.writing-box {
    max-width: 980px;
    margin: 0 auto;

    .writing-head {
        position: relative;
        border-bottom: 2px solid #000;

        h4 {
            font-size: 20px;
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            height: 45px;
        }

        span {
            color: #a7a7a7;
            font-size: 12px;
            position: absolute;
            top: 15px;
            right: 15px;
        }
    }

    .writing-body {
        .writing-form {
            padding: 15px 0;

            dl {
                display: flex;
                margin-bottom: 15px;
                padding: 0;

                dt {
                    display: flex;
                    align-items: center;
                    width: 20%;
                    padding-left: 20px;

                    span {
                        color: #a7a7a7;
                        font-size: 12px;
                        font-weight: 100;
                        margin-left: 5px;
                    }
                }

                .column-flex {
                    flex-direction: column;
                    justify-content: flex-start;
                    align-items: flex-start;
                }

                dd {
                    width: 80%;
                    display: flex;
                    flex-direction: column;
                    position: relative;

                    >input {
                        background: #F6F6F6;
                        border-radius: 5px;
                        border: 0;
                        padding-left: 10px;
                        padding: 12px 10px;
                        outline: none;
                        border: 1px solid #e9e9e9;

                        &:focus {
                            box-shadow: 0 0 5px #a8acec;
                            border: 1px solid #a8acec;
                        }
                    }

                    >select {
                        background: #F6F6F6;
                        border: 1px solid #bebebe;
                        border-radius: 5px;
                        padding-left: 10px;
                        padding: 12px 10px;
                        outline: none;

                        &:focus {
                            box-shadow: 0 0 5px #a8acec;
                            border: 1px solid #a8acec;
                        }
                    }

                    >input[type=file] {
                        cursor: pointer;
                    }

                    >button {
                        border: 1px solid #e0e0e0;
                        background-color: #f8f8f8;
                        border-radius: 5px;
                        color: #7c7c7c;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        width: 100px;
                        height: 30px;
                        margin-bottom: 10px;
                        color: #000;
                        outline: none;

                        &:focus {
                            box-shadow: 0 0 5px #a8acec;
                            border: 1px solid #a8acec;
                        }
                    }

                    >p {
                        color: #a7a7a7;
                        font-weight: 100;
                    }

                    >span {
                        display: flex;
                        align-items: center;
                        font-size: 12px;
                    }

                    .plus {
                        position: absolute;
                        top: 15px;
                        right: 80px;
                        width: 20px;
                        height: 20px;
                        justify-content: center;
                        cursor: pointer;
                    }
                }
            }

            dl:last-child {
                margin-bottom: 0;
            }

            .form-box {
                textarea {
                    border: 1px solid #e0e0e0;
                    min-height: 400px;
                    margin-bottom: 15px;
                    padding: 15px;
                    width: 100%;
                    height: 100%;
                    box-sizing: border-box;
                    outline: none;

                    &:focus {
                        box-shadow: 0 0 5px #a8acec;
                        border: 1px solid #a8acec;
                    }
                }
            }

            .rull {
                strong {
                    margin-bottom: 10px;
                    display: block;
                }

                .rull-box {
                    position: relative;
                    padding-bottom: 30px;

                    .rull-text {
                        border: 1px solid #e0e0e0;
                        padding: 20px;
                        min-height: 200px;
                        max-height: 200px;
                        overflow-y: auto;
                        overflow-x: hidden;
                    }

                    .r-check {
                        position: absolute;
                        margin-bottom: 0;
                        right: 0;
                        bottom: 0;
                        font-size: 12px;
                        cursor: pointer;

                        input {
                            position: absolute;
                            top: 2px;
                            left: 0;
                            margin: 0;
                        }

                        label {
                            margin: 0 0 0 20px;
                            cursor: pointer;
                        }
                    }
                }
            }
        }
    }

}

// pagenavi ---------------------------------------------------------------------------------------------------------------------------------------------------------
.pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    margin: 20px auto 0;
    li {
        margin-right: 5px;
        a {
            font-size: 12px;
            border: 1px solid transparent;
            // box-shadow: 0 0 5px rgba(0,0,0,.1);
            border-radius: 5px;
            padding: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 40px;
            min-width: 42px;
            background-color: #211E22;
            border: 1px solid #5B5C67;
            color: #fff;
            transition: all .3s;
            &:hover,
            &.active {
                background: #5B5C67;
                color: #fff;
                border: 1px solid #211E22;
                font-weight: bold;
                font-family: 'nanumgothic_bold';
                transition: all .2s ease;
            }

            &:active {
                transform: translateY(1px);
            }
        }
        &:last-child{
            margin-right: 0;
        }
    }
}


// over_box ---------------------------------------------------------------------------------------------------------------------------------------------------------
.over_box {
    overflow-y: auto;
    width: 100%;
    max-height: 500px;
}

// flex input ---------------------------------------------------------------------------------------------------------------------------------------------------------
.flex {
    display: flex;
    align-items: center;

    input {
        min-width: 200px;
        height: 35px;
        border: 1px solid #bebebe;
        text-align: right;
        box-sizing: border-box;
        margin-right: 15px;
        outline: none;
        padding: 0 10px;
    }
}

// flex column
.flex_column {
    flex-direction: column !important;

    input {
        margin-bottom: 5px;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.align-start {
    align-items: flex-start !important;
}

.just-start {
    justify-content: flex-start !important;
}

.just-end {
    justify-content: flex-end !important;
}

.just-conter {
    justify-content: center !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
    padding-left: 10px;
}
.text-justify{
    text-align: justify!important;
}
.text-right {
    text-align: right !important;
}

// label group ---------------------------------------------------------------------------------------------------------------------------------------------------------
.label_group {
    display: flex;
    align-items: center;
    justify-content: center;

    .label_item {
        display: flex;
        align-items: center;
        margin-right: 20px;

        input {
            margin-right: 5px;
            cursor: pointer;
        }

        label {
            cursor: pointer;
        }

        &:last-child {
            margin-right: 0;
        }
    }
}

//  radio & select ---------------------------------------------------------------------------------------------------------------------------------------------------------
.radio {
    display: flex;
    align-items: center;
    justify-content: center;

    input {
        margin-right: 5px;
    }
}

// radio box
.radio-box {
    margin-bottom: 10px;

    .radio {
        .item {
            width: 20%;
            float: left;

            input {
                margin: 4px 0 0;
            }

            label {
                margin: 0;
                padding-left: 18px;
                font-size: 12px;
            }
        }
    }

    &:after {
        content: '';
        display: block;
        clear: both;
    }
}

// textarea
.textarea {
    width: 100%;

    textarea {
        min-width: 800px;
        min-height: 117px;
        outline: none;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #A1A1A1;
    }
}

// select
.select {
    margin-bottom: 10px;

    select {
        height: 30px;
        padding: 0 30px;
        border: 1px solid #bebebe;
    }
}

// select_layout
.select_layout {
    display: flex;
    align-items: center;
    width: 100%;

    span {
        width: 100%;
        margin-right: 5px;

        &:nth-child() {
            margin-right: 0;
        }

        &.in_font {
            width: 35%;
        }
    }

    select {
        width: 35% !important;
        margin-right: 5px;
    }

    input {
        width: 75% !important;
    }
}

// select_control
.select_control {
    height: 35px;
    border: 1px solid #bebebe;
    padding: 0 15px;
}

// ball ----------------------------------------------------------------------------------------------------------------------------------------------------------------

.ball_blue {
    background: #1D448F;
}

.ball_green {
    background-color: #447D0A;
}

.ball_green_two {
    background-color: #1c9880;
    border: 1px solid #064337;
}

.ball_yellow {
    background-color: #ffba00;
    border: 1px solid #453800;
}

.ball_orange {
    background-color: #ff5100;
    border: 1px solid #642000;
}

.ball_red {
    background: #941C14;
}

.ball_gray {
    background-color: #707070;
    border: 1px solid #373737;
}

.ball_black {
    background-color: #000000;
    border: 1px solid #373737;
}

.bg-black {
    background-color: #222;
    color: #fff;
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

// placeholder ---------------------------------------------------------------------------------------------------------------------------------------------------------
::-webkit-input-placeholder {
    color: #5a69a5;
}

// scroll ---------------------------------------------------------------------------------------------------------------------------------------------------------


.mar_zero{
    margin: 0!important;
}
.mar_auto{
    margin: 0 auto!important;
}
// margin top
.mar-t-5{margin-top: 5px!important;}
.mar-t-10{margin-top: 10px!important;}
.mar-t-15{margin-top: 15px!important;}
.mar-t-20{margin-top: 20px!important;}
.mar-t-25{margin-top: 25px!important;}
.mar-t-30{margin-top: 30px!important;}
.mar-t-35{margin-top: 35px!important;}
.mar-t-40{margin-top: 40px!important;}
.mar-t-45{margin-top: 45px!important;}
.mar-t-50{margin-top: 50px!important;}
// margin left
.mar-l-5{margin-left: 5px!important;}
.mar-l-10{margin-left: 10px!important;}
.mar-l-15{margin-left: 15px!important;}
.mar-l-20{margin-left: 20px!important;}
.mar-l-25{margin-left: 25px!important;}
.mar-l-30{margin-left: 30px!important;}
.mar-l-35{margin-left: 35px!important;}
.mar-l-40{margin-left: 40px!important;}
.mar-l-45{margin-left: 45px!important;}
.mar-l-50{margin-left: 50px!important;}
// margin right
.mar-r-5{margin-right: 5px!important;}
.mar-r-10{margin-right: 10px!important;}
.mar-r-15{margin-right: 15px!important;}
.mar-r-20{margin-right: 20px!important;}
.mar-r-25{margin-right: 25px!important;}
.mar-r-30{margin-right: 30px!important;}
.mar-r-35{margin-right: 35px!important;}
.mar-r-40{margin-right: 40px!important;}
.mar-r-45{margin-right: 45px!important;}
.mar-r-50{margin-right: 50px!important;}
// margin bottom
.mar-b-5{margin-bottom: 5px!important;}
.mar-b-10{margin-bottom: 10px!important;}
.mar-b-15{margin-bottom: 15px!important;}
.mar-b-20{margin-bottom: 20px!important;}
.mar-b-25{margin-bottom: 25px!important;}
.mar-b-30{margin-bottom: 30px!important;}
.mar-b-35{margin-bottom: 35px!important;}
.mar-b-40{margin-bottom: 40px!important;}
.mar-b-45{margin-bottom: 45px!important;}
.mar-b-50{margin-bottom: 50px!important;}

.pad_zero{
    padding: 0!important;
}
// margin top
.pad-t-5{padding-top: 5px!important;}
.pad-t-10{padding-top: 10px!important;}
.pad-t-15{padding-top: 15px!important;}
.pad-t-20{padding-top: 20px!important;}
.pad-t-25{padding-top: 25px!important;}
.pad-t-30{padding-top: 30px!important;}
.pad-t-35{padding-top: 35px!important;}
.pad-t-40{padding-top: 40px!important;}
.pad-t-45{padding-top: 45px!important;}
.pad-t-50{padding-top: 50px!important;}
// margin left
.pad-l-5{padding-left: 5px!important;}
.pad-l-10{padding-left: 10px!important;}
.pad-l-15{padding-left: 15px!important;}
.pad-l-20{padding-left: 20px!important;}
.pad-l-25{padding-left: 25px!important;}
.pad-l-30{padding-left: 30px!important;}
.pad-l-35{padding-left: 35px!important;}
.pad-l-40{padding-left: 40px!important;}
.pad-l-45{padding-left: 45px!important;}
.pad-l-50{padding-left: 50px!important;}
// margin right
.pad-r-5{padding-right: 5px!important;}
.pad-r-10{padding-right: 10px!important;}
.pad-r-15{padding-right: 15px!important;}
.pad-r-20{padding-right: 20px!important;}
.pad-r-25{padding-right: 25px!important;}
.pad-r-30{padding-right: 30px!important;}
.pad-r-35{padding-right: 35px!important;}
.pad-r-40{padding-right: 40px!important;}
.pad-r-45{padding-right: 45px!important;}
.pad-r-50{padding-right: 50px!important;}
// margin bottom
.pad-b-5{padding-bottom: 5px!important;}
.pad-b-10{padding-bottom: 10px!important;}
.pad-b-15{padding-bottom: 15px!important;}
.pad-b-20{padding-bottom: 20px!important;}
.pad-b-25{padding-bottom: 25px!important;}
.pad-b-30{padding-bottom: 30px!important;}
.pad-b-35{padding-bottom: 35px!important;}
.pad-b-40{padding-bottom: 40px!important;}
.pad-b-45{padding-bottom: 45px!important;}
.pad-b-50{padding-bottom: 50px!important;}

// tab area
.tabArea {
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #d3d3d3;
    display: flex;
    flex-direction: column;
    .tabs {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        .tab {
            cursor: pointer;
            height: 50px;
            background-color: #f7f7f7;
            color: #000;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            &:last-child {
                border-right: 0;
            }
        }
    }

    .panels {
        width: 100%;
        height: calc(100% - 50px);
        overflow: hidden;
        color: #000;
        padding: 15px;
        box-sizing: border-box;
        .panel {
            display: none;
            animation: fadein .8s;
            @keyframes fadein {
                from {
                    opacity: 0;
                }
        
                to {
                    opacity: 1;
                }
            }
            &-title {
                font-size: 1.5em;
                font-family: 'nanumgothic_bold';
                font-weight: bold;
                padding: 15px;
                background-color: #000;
                border-radius: 5px;
                display: flex;
                align-items: center;
            }
        }
    }

    #tab_1:checked~.panels #tab_1_panel,
    #tab_2:checked~.panels #tab_2_panel,
    #tab_3:checked~.panels #tab_3_panel,
    #tab_4:checked~.panels #tab_4_panel,
    #tab_5:checked~.panels #tab_5_panel {
        display: block
    }

    #tab_1:checked~.tabs #tab_1_tab,
    #tab_2:checked~.tabs #tab_2_tab,
    #tab_3:checked~.tabs #tab_3_tab,
    #tab_4:checked~.tabs #tab_4_tab,
    #tab_5:checked~.tabs #tab_5_tab {
        background-color: #fff;
        border-bottom: 1px solid transparent;
        color: #2e1c08;
    }
    .radio {
        display: none;
    }
}

// cover
.cover {
    position: relative;
    &:after {
        content: '\f023';
        font-family: 'FontAwesome';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        color: #fff;
        background-color: rgba(0, 0, 0, .7);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }
}

.cover-big {
    position: relative;
    &:after {
        content: '\f023';
        font-family: 'FontAwesome';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        color: #fff;
        background-color: rgba(0, 0, 0, .7);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 50px;
    }
}